<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link rel="stylesheet" type="text/css"
	href="<%=basePath%>resources/jquery/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>resources/jquery/themes/icon.css">
<script type="text/javascript"
	src="<%=basePath%>resources/jquery/jquery.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>resources/jquery/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>resources/jquery/locale/easyui-lang-zh_CN.js"></script>
	<script language="javascript" src="/huahua/resources/js/city.js"></script>
	<script type="text/javascript"
	src="resources/js/jquery/jquery-2.2.4.min.js"></script>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Insert title here</title>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<!-- Core Style CSS -->
<link rel="stylesheet" href="/huahua/resources/css/core-style.css">
</head>


<body>

<!-- ##### Header Area Start ##### -->
	<header class="header_area">
		<div
			class="classy-nav-container breakpoint-off d-flex align-items-center justify-content-between">
			<!-- Classy Menu -->
			<nav class="classy-navbar" id="essenceNav">
				<!-- Logo -->
				<a class="nav-brand" href="http://localhost:8080/huahua/pages/front/index.jsp"><img
					src="/huahua/resources/images/core-img/logo.png" alt=""></a>
				<!-- Navbar Toggler -->
				<div class="classy-navbar-toggler">
					<span class="navbarToggler"><span></span><span></span><span></span></span>
				</div>
				<!-- Menu -->
				<div class="classy-menu">
					<!-- close btn -->
					<div class="classycloseIcon">
						<div class="cross-wrap">
							<span class="top"></span><span class="bottom"></span>
						</div>
					</div>
					<!-- Nav Start -->
				
					<!-- Nav End -->
				</div>
			</nav>
			<!-- Header Meta Data -->
		<!-- Header Meta Data -->
			<div class="header-meta d-flex clearfix justify-content-end">
				
				<!-- Favourite Area -->
				<div class="favourite-area">
					<a href="<%=basePath%>/user/logout.shtml">退出登录</a>
				</div>
		
			
			</div>

		</div>
	</header>
	<!-- ##### Header Area End ##### -->

<!-- Single Blog Post Thumb -->
		<div class="breadcumb_area breadcumb-style-two bg-img"
			style="background-image: url(/huahua/resources/images/bg-img/blog4.jpg);">
			<div class="container h-100">
				<div class="row h-100 align-items-center">
					<div class="col-12">
						<div class="page-title text-center">
							<h2>查询订单</h2>
						</div>
					</div>
				</div>
			</div>
		</div>

<table id="dg" title="搜索订单" class="easyui-datagrid" style="width:1300px;height:300px"
		url="/huahua/order/all.shtml"
		toolbar="#toolbar"
		rownumbers="true" fitColumns="true" singleSelect="true">
	<thead>
		<tr>
			<th field="goodname"" width="25">商品名</th>
			<th field="orderid" width="100">订单号</th>
			<th field="time" width="50">下单时间</th>
			<th field="username" width="25">用户名</th>
		
		</tr>
	</thead>
</table>

	<div class="col-12">
								
									<a href="http://localhost:8080/huahua/pages/front/adminHome.jsp" class="btn essence-btn">返回主页</a>
								</div>
<div id="toolbar">


	<span>payment ID:</span>
	<input id="paymentId" style="line-height:26px;border:1px solid #ccc">
	<a  class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch()">查找匹配</a>
</div>

<script type="text/javascript">  


function doSearch(){
	$('#dg').datagrid('load',{
		paymentId: $('#paymentId').val(),
	
	});
}









</script>



</body>
</html>